package com.topcheer.gateway.ribbon;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

/**
 * @author xutao
 * @Package com.topcheer.gateway.ribbon
 * @Description: ${todo}
 * @date 2020/9/27 9:13
 */
@Component
public class RateLimiterGatewayFilterFactory extends AbstractGatewayFilterFactory {
    @Override
    public GatewayFilter apply(Object config) {
        return new RateLimiterFilter();
    }
}
